home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15696 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: ix.netcom.com!news
  2. From: Jane Harper <jharper@ix.netcom.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How do the functions in <time.h> work?
  5. Date: Sat, 20 Apr 1996 08:59:42 -0700
  6. Organization: Netcom
  7. Message-ID: <317909EE.648E@ix.netcom.com>
  8. References: <317653DA.5066@ix.netcom.com> <829950824snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: sjx-ca11-09.ix.netcom.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-NETCOM-Date: Sat Apr 20 11:02:26 AM CDT 1996
  14. X-Mailer: Mozilla 2.01 (Win95; U)
  15.  
  16. Lawrence Kirby wrote:
  17. > We can't tell what you did unless you post some code. ctime() takes an
  18. > argument which is a pointer to the time_t value you want to convert.
  19. > Presumably you didn't pass it such a pointer.
  20.  
  21. About the immediate question of my code, you are correct. However, I'm 
  22. at least as interested in *how* the functions work.  What's time_t a 
  23. typedef *for*?  DOes it have other uses?  The ctime() prototype mentions 
  24. an argument "*timer" .. whazzat and what does *it* do?  What type is it?
  25.  
  26. Perhaps my real problem lies in my inability to understand completely 
  27. the code within the <time.h> file ..
  28.  
  29. Thanks.
  30.  
  31. J.
  32.